#!/bin/ksh
echo "quit" | telnet localhost 80 | grep "Escape character is"

